WPPayForm\App\Modules\PaymentMethods\Stripe\StripeHostedHandler C

Total Complexity 115
Dependencies 18
Dependents 3
Total lines 860
Lines of code 655
Logical lines of code 362
Comment lines 34
Methods 15
Properties 1

Methods 15

Method Rating Maintainability Complexity Lines of code
handleChargeCaptured()
B
31 18 114
redirectToStripe()
B
33 18 94
getSubscriptionArgs()
B
36 16 79
handleCheckoutSessionSuccess()
B
35 13 92
getLineItems()
A
42 10 57
showSuccessMessage()
S
49 7 29
syncSubscription()
S
46 5 41
markPaymentSuccess()
S
54 5 21
captureAuthorizedAmount()
S
53 5 21
maybeSetCancelAt()
S
54 5 20
cancelSubscription()
S
49 3 34
markPaymentCancel()
S
56 3 18
showCancelMessage()
S
58 3 15
getIntentMetaData()
S
61 3 13
registerHooks()
S
66 1 7